<?php
 $num_limit=DF_LIMIT_USER_ALB_NUM;
$num=DbTouch('phome_jat_album',array("uid"=>$lguserid),"count(*) as n");
	if($num[n]>= $num_limit){
		echo "<div class='' style='padding:15px 10px;'>您已经建立了{$num[n]}个专辑，达到系统限制数目,不能再建立了！</div>";
		exit();
	}
?>
<style>
.join_actbox input{height:20px;}
.join_actbox{ width:320px;}
.join_actbox table tbody tr{height:36px;}
.join_actbox table tbody tr td{text-align:left;}
.join_actbox .description{}
.remark{height:120px;width:360px;font-weight:bold;}
.info{padding:5px 10px;}
.join_act i{color:red;padding-right:5px;}
.error_box{background:#fefefe;}
</style>
<div class='join_actbox'>
<table cellspacing='0' cellpadding='0' width='100%'>
<tbody>
	<tr>
		<td class='title'><i>*</i>专辑名称：</td>
		<td><input  name="title" class='album_title'/><span class='info'><span></td>
	</tr>
	<tr>
		<td class='title'>拍摄地点：</td><td><input  name="aid_person" class='addr' size="25" maxLength="50"/><span class='info'></span></td>
	</tr>
	<tr>
		<td class='title'>详细描述：</td><td><textarea class='content' cols='20' style="width:220px;height:50px;"></textarea><span class='info'></span></td>
	</tr>
	<tr>
		<td class='title'>访问权限：</td><td>
		<select class='permission'>
			<option value='1'>任何人</option>
			<option value='2'>好友</option>
			<option value='3'>凭密码访问</option>
			<option value='4'>隐藏</option>
		</select><span class='info'></span>
	</td></tr>
	<tr>
		<td colspan='2' align="center" style='text-align:center;'><input type='button' value='创建' class='add_album'/> <input type='button' value='取消' onclick='popup_close();'/></td>
	</tr>
	</tbody>
</table>
</div>